Query Optimization Using Multiple SIP Strategies
نویسنده
چکیده
The magic sets rewriting technique (cf. [Ull89]) seems to be the most promising approach to evaluating queries bottom-up for database systems with a powerful view concept. This is in particular the case for systems which will implement the new SQL3 standard and hence will allow the de nition of recursive views. It has been shown that bottom-up query evaluation via magic sets is basically equivalent to top-down approaches and for readability reasons we use Datalog expressions throughout the paper. The attractiveness of magic sets lies in its generality and e ciency. Several approaches to improve the magic set method have been proposed which are often applicable in special cases only, e.g. [SSES90] and [Sagiv90]. Another approach called envelopes [Sagiv90] is as general as the magic set method and can be better than magic sets in many cases. However, given a query execution plan obtained by a single magic set transformation, this plan is normally not reoptimized dynamically, i.e. the actual number of facts generated during query processing cannot be considered.
منابع مشابه
A Dynamic Approach to Deductive Query Evaluation
In this paper, a dynamic approach to deductive query evaluation is presented which combines the e ects of di erent SIP strategies used for the magic set rewriting technique. Given a query execution plan obtained by a single magic set transformation, this plan is normally not reoptimized, and the actual number of facts generated during query processing cannot be considered. But applying the magi...
متن کاملAnatomy of a Mudular Multiple Query Optimizer
We critically evaluate the current state of research in multiple query opGrnization, synthesize the requirements for a modular opCrnizer, and propose an architecture. Our objective is to facilitate future research by providing modular subproblems and a good general-purpose data structure. In rhe context of this archiuzcture. we provide an improved subsumption algorithm. and discuss migration pa...
متن کاملRelational Databases Query Optimization using Hybrid Evolutionary Algorithm
Optimizing the database queries is one of hard research problems. Exhaustive search techniques like dynamic programming is suitable for queries with a few relations, but by increasing the number of relations in query, much use of memory and processing is needed, and the use of these methods is not suitable, so we have to use random and evolutionary methods. The use of evolutionary methods, beca...
متن کاملMultiple-Site Distributed Spatial Query Optimization Using Spatial Semijoins
In this paper, we present our strategy for distributed spatial query optimization that involves multiple sites. Previous work in the area of distributed spatial query processing and optimization focuses only on strategies for performing spatial joins and spatial semijoins, and distributed spatial queries that only involve two sites. We propose a strategy for optimizing a distributed spatial que...
متن کاملfAST Refresh using Mass Query Optimization
Automatic Summary Tables (ASTs), more commonly known as materialized views, are widely used to enhance query performance, particularly for aggregate queries. Such queries access a huge number of rows to retrieve aggregated summary data while performing multiple joins in the context of a typical data warehouse star schema. To keep ASTs consistent with their underlying base data, the ASTs are eit...
متن کامل